package com.mango.game.dtos;

import com.mango.game.entity.UserInfo;

/**
 * 封装请求通用实体
 */
public class RequestContextDTO {

    private String userName;

    private Long userId;

    private Long nameSpace;

    private Long gameId;

    private Long channelId;

    private Long productsId;

    private UserInfo userInfo;

    public RequestContextDTO(){
        // null
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getNameSpace() {
        return nameSpace;
    }

    public void setNameSpace(Long nameSpace) {
        this.nameSpace = nameSpace;
    }

    public Long getGameId() {
        return gameId;
    }

    public void setGameId(Long gameId) {
        this.gameId = gameId;
    }

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public Long getProductsId() {
        return productsId;
    }

    public void setProductsId(Long productsId) {
        this.productsId = productsId;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    @Override
    public String toString() {
        return "RequestContextDTO{" +
                "userId=" + userId +
                ", nameSpace=" + nameSpace +
                ", gameId=" + gameId +
                ", channelId=" + channelId +
                ", productsId=" + productsId +
                ", userInfo=" + userInfo +
                '}';
    }
}
